package com.zzx.bean;

import java.sql.Timestamp;

/**
 * @Author: Spider Man
 * @Description: 管理员Bean
 * @Date Created in 2020-09-15 13:15
 * @Modified By:
 */
public class Courier {
    /**
     * 快递员ID
     */
    private Integer cid;

    /**
     * 快递员名字
     */
    private String cName;

    /**
     * 快递员电话
     */
    private String cPhone;

    /**
     * 快递员身份证号码
     */
    private String cIdentity;

    /**
     * 密码
     */
    private String cPassword;

    /**
     * 日派件量
     */
    private String cDispatch;

    /**
     * 注册时间
     */
    private Timestamp cRegisterTime;

    /**
     * 上次登录时间
     */
    private Timestamp cLoginTime;

    public Courier() {}



    public Courier(String cName, String cPhone, String cIdentity, String cPassword) {
        this.cName = cName;
        this.cPhone = cPhone;
        this.cIdentity = cIdentity;
        this.cPassword = cPassword;
    }

    public Courier(Integer cid, String cName, String cPhone, String cIdentity, String cPassword, String cDispatch, Timestamp cRegisterTime, Timestamp cLoginTime) {
        this.cid = cid;
        this.cName = cName;
        this.cPhone = cPhone;
        this.cIdentity = cIdentity;
        this.cPassword = cPassword;
        this.cDispatch = cDispatch;
        this.cRegisterTime = cRegisterTime;
        this.cLoginTime = cLoginTime;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getcName() {
        return cName;
    }

    public void setcName(String cName) {
        this.cName = cName;
    }

    public String getcPhone() {
        return cPhone;
    }

    public void setcPhone(String cPhone) {
        this.cPhone = cPhone;
    }

    public String getcIdentity() {
        return cIdentity;
    }

    public void setcIdentity(String cIdentity) {
        this.cIdentity = cIdentity;
    }

    public String getcPassword() {
        return cPassword;
    }

    public void setcPassword(String cPassword) {
        this.cPassword = cPassword;
    }

    public String getcDispatch() {
        return cDispatch;
    }

    public void setcDispatch(String cDispatch) {
        this.cDispatch = cDispatch;
    }

    public Timestamp getcRegisterTime() {
        return cRegisterTime;
    }

    public void setcRegisterTime(Timestamp cRegisterTime) {
        this.cRegisterTime = cRegisterTime;
    }

    public Timestamp getcLoginTime() {
        return cLoginTime;
    }

    public void setcLoginTime(Timestamp cLoginTime) {
        this.cLoginTime = cLoginTime;
    }

    @Override
    public String toString() {
        return "Courier{" +
                "cid=" + cid +
                ", cName='" + cName + '\'' +
                ", cPhone='" + cPhone + '\'' +
                ", cIdentity='" + cIdentity + '\'' +
                ", cPassword='" + cPassword + '\'' +
                ", cDispatch='" + cDispatch + '\'' +
                ", cRegisterTime=" + cRegisterTime +
                ", cLoginTime=" + cLoginTime +
                '}';
    }
}
